package com.daxt.mapper.archives;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.daxt.model.service.archives.result.ArchivesCount;
import com.daxt.model.service.archives.result.ArchivesStatisticsList;
import com.daxt.model.service.archives.vo.ArchivesDoc;
import com.daxt.model.service.archives.vo.ArchivesStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ArchivesStatisticsMapper extends BaseMapper<ArchivesStatistics>{

    ArchivesStatisticsList countAll(@Param("param")Map<String, Object> param);
    IPage<ArchivesStatisticsList> countFonds(Page<ArchivesStatistics> page,@Param("param")Map<String, Object> param);
    IPage<ArchivesStatisticsList> countType(Page<ArchivesStatistics> page,@Param("param")Map<String, Object> param);

}

